/**
 * 
 */
package com.music.service.playlists.dao;

import java.util.List;

import com.music.service.playlists.beans.Playlist;
import com.music.service.songs.beans.Song;
import com.music.service.urls.beans.Url;

/**
 * @author asanthan
 * 
 */
public interface PlaylistDAO {
	public Playlist addPlaylist(Playlist pPlaylist) ;

	public void deletePlaylist(Playlist pPlaylist) ;
	
	public Playlist editPlaylist(Playlist pPlaylist) ;

	public List<Playlist> viewPlaylists(final Long pMemberId);

	public void addSongToPlaylist(Playlist pPlaylist, Song pSong);

	public void deleteSongFromPlaylist(Playlist pPlaylist, Song pSong);

	public List<Playlist> getRecentPlaylists(final Long pMemberId,final int pLimit);
	
	public Playlist getPlaylistInfoForMember(final Long pMemberId,final Long pPlaylistId);
	
	public Song addSongToPlaylist(Playlist pPlaylist, Song pSong, Url pUrl) ;
		
}
